Skip to content

빈 디렉토리 목록에 폴더 아이콘 추가 및 정렬 개선 - #286

Closed
seonghobae wants to merge 1 commit into
masterfrom
palette/empty-dir-icon-7116662898451988364
Closed

빈 디렉토리 목록에 폴더 아이콘 추가 및 정렬 개선#286
seonghobae wants to merge 1 commit into
masterfrom
palette/empty-dir-icon-7116662898451988364

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator
  • html4tree/main.kt: .empty-dir 클래스에 flexbox 스타일을 적용하고 HTML 문자열에 이모지 아이콘(aria-hidden 포함) 추가.
  • MainTest.kt: testGoEmptyDir 테스트에 새로 추가된 이모지 아이콘에 대한 assertions 추가.
  • .jules/palette.md: 빈 상태 디자인의 시각적 일관성 확보에 대한 UX 학습 내용(한국어) 기록.

PR created automatically by Jules for task 7116662898451988364 started by @seonghobae

빈 디렉토리를 렌더링할 때 열린 폴더 아이콘(`📂`)을 추가하고, flexbox를 사용하여
기존의 파일 및 디렉토리 목록과 정렬을 일치시켰습니다. 스크린 리더 접근성을 유지하기 위해
해당 아이콘은 `aria-hidden="true"` 속성으로 감쌌습니다.
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings July 27, 2026 20:48
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 8 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0f46eac7-2a65-41e3-a3c0-67dded7d9ee7

📥 Commits

Reviewing files that changed from the base of the PR and between a859a11 and e8c9902.

📒 Files selected for processing (3)
  • .jules/palette.md
  • src/main/kotlin/html4tree/main.kt
  • src/test/kotlin/html4tree/MainTest.kt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette/empty-dir-icon-7116662898451988364

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the generated directory listing HTML to improve the visual alignment of the empty-directory state by adding a decorative folder icon and applying flexbox styling, and extends test coverage to validate the new output.

Changes:

  • Add flexbox styling to .empty-dir and render a decorative folder icon (aria-hidden) for empty directories.
  • Update testGoEmptyDir to assert the presence of the new empty-state icon entity.
  • Record a UX learning note about empty-state visual consistency in .jules/palette.md.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/main/kotlin/html4tree/main.kt Adds flex styling for empty state and injects an icon into the empty-directory HTML markup.
src/test/kotlin/html4tree/MainTest.kt Extends the empty-directory test to assert the new icon output.
.jules/palette.md Documents the UX rationale/learning behind adding an empty-state icon for consistency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 375 to +376
if(l.isEmpty()){
l.append(""" <li><div class="empty-dir">이 디렉토리는 비어 있습니다.</div></li>""")
l.append(""" <li><div class="empty-dir"><span class="icon" aria-hidden="true">&#128194;</span> <span>이 디렉토리는 비어 있습니다.</span></div></li>""")
val htmlContent = indexFile.readText()
assertTrue(htmlContent.contains("<html lang=\"ko\">"))
assertTrue(htmlContent.contains("이 디렉토리는 비어 있습니다."))
assertTrue(htmlContent.contains("&#128194;"))

Copy link
Copy Markdown
Collaborator Author

Closing as superseded by canonical #262 at exact head b72a62d9fb4e2597d3989d9b6d421aaf4ca38231. The same empty-state flex alignment, decorative folder icon, and aria-hidden treatment are fully contained there, with additional role="status" semantics and exact-fragment regression coverage. Consolidation prevents duplicate conflict repair and CI.

@seonghobae seonghobae closed this Aug 5, 2026
@google-labs-jules

Copy link
Copy Markdown

Closing as superseded by canonical #262 at exact head b72a62d9fb4e2597d3989d9b6d421aaf4ca38231. The same empty-state flex alignment, decorative folder icon, and aria-hidden treatment are fully contained there, with additional role="status" semantics and exact-fragment regression coverage. Consolidation prevents duplicate conflict repair and CI.

알겠습니다. 이 작업이 다른 PR로 대체되었음을 확인했으며 작업을 중단하겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants